Constraint Graph In Artificial Intelligence